import fetch from 'common/src/utils/fetch';

/**
 * 查询培养计划权限列表
 */
export function queryCulturePlanPermission(data) {
    return fetch({
        url: '/api/cultureservice/authPushTime/queryAuthPushTimeList',
        method: 'POST',
        data
    });
}

/**
 * 新增培养计划权限
 */
export function insertCulturePlanPermission(data) {
    return fetch({
        url: '/api/cultureservice/authPushTime/insertAuthPushTime',
        method: 'POST',
        data
    });
}

/**
 * 修改培养计划权限
 */
export function modifyCulturePlanPermission(data) {
    return fetch({
        url: '/api/cultureservice/authPushTime/modifyAuthPushTime',
        method: 'POST',
        data
    });
}

/**
 * 删除培养计划权限
 */
export function deleteCulturePlanPermission(data) {
    return fetch({
        url: '/api/cultureservice/authPushTime/deleteAuthPushTime',
        method: 'POST',
        data
    });
}


/**
 * 批量删除培养计划权限
 */
export function batchDeleteCulturePlanPermission(data) {
    return fetch({
        url: '/api/cultureservice/authPushTime/batchDeleteAuthPushTime',
        method: 'POST',
        data
    });
}
